package pretice.p1;

public class PTest {
    public static void main(String[] args) {
        Pretice thread=new Pretice();
        thread.setName("线程1");
        thread.start();

        Pretice thread1=new Pretice();
        thread1.setName("线程2");
        thread1.start();
    }
}
